package extract;

public class Extract
{
  public static void main(String[] args)
  {
    System.out.println(getVariable("osifhgaofgih=*HALLOOOOO*sdkgjb"));
  }
  
  private static String getVariable(String s)
  {
    String var = "";
    boolean b = false;
    for(int i = 0; i<s.length(); i++)
    {
      char c = s.charAt(i);
      if(b && c != '*')
        var += c;
      if(c == '*')
      {
        b = !b;
        var += c;
      }
    }
    return var;
  }
}
